<?php

use App\Models\Card;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

$factory->define(Card::class, function (Faker $faker) {
    $prices = [
        50,100,200,300
    ];
    $random_keys = array_rand($prices, 2);
    return [
        'card_num' =>  Str::uuid(),
        'card_money' => $prices[$random_keys[0]]
    ];
});
